import React from "react";
import { AboutMarkdownSection } from "../../../components/AboutMarkdownSection";
import { getAboutMarkdown } from "../../../lib/data";

export const revalidate = 300;

export default function AboutPage({
  params,
}: {
  params: { locale: string };
}) {
  const aboutMarkdown = getAboutMarkdown(params.locale);
  return (
    <main className="flex flex-col gap-0 bg-[#0b1629] text-white">
      <AboutMarkdownSection
        content={aboutMarkdown}
        ctaHref="/docs/Henggan.pptx"
        ctaLabel="下载了解方案"
      />
    </main>
  );
}
